<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DisplayCategories.ascx.cs" Inherits="Impact.Web.Controls.DisplayCategories" %>

    <h2>Categories:</h2>
    
    <asp:Repeater ID="categoryRepeater" runat="server">
        <HeaderTemplate><ul></HeaderTemplate>
        <ItemTemplate>
            <li>
                <a href="<%# FormatUrl(Container.DataItem) %>"><%# Eval("Name") %></a>
                <rss:RssHyperLink ID="rssLink" IncludeUserName="false" NavigateUrl="~/!rss.ashx" ChannelName='<%# Eval("NameKey") %>' ImageUrl="~/images/feed.png" Visible='<%# Eval("AllowRss") %>' runat="server"></rss:RssHyperLink>
            </li>
        </ItemTemplate>
        <FooterTemplate></ul></FooterTemplate>
    </asp:Repeater>

    <h2>Tags:</h2>
    
    <asp:Repeater ID="tagRepeater" runat="server">
        <HeaderTemplate><ul></HeaderTemplate>
        <ItemTemplate>
            <li>
                <a href="<%# FormatUrl(Container.DataItem) %>"><%# Eval("Text") %></a>
            </li>
        </ItemTemplate>
        <FooterTemplate></ul></FooterTemplate>
    </asp:Repeater>
